package pers.feng1240.blog.service.impl;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import pers.feng1240.blog.dao.ManagerDao;
import pers.feng1240.blog.entities.Manager;
import pers.feng1240.blog.service.ManagerService;

/*
 * 管理员登录
 */

@Service("managerService")
public class ManagerServiceImpl implements ManagerService {

	@Resource
	private ManagerDao managerDao;
	/*
	 * 管理员登录
	 * @see pers.feng1240.blog.service.ManagerService#login(java.util.Map)
	 */
	@Override
	public Manager login(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return managerDao.login(map);
	}

}
